package dao;

import domain.Member;
import org.apache.ibatis.annotations.Select;



/**
 * @author Freedy
 * @date 2020/12/23 22:47
 */
public interface IMemberDao {

    /**
     * 根据id查询会员
     * @param id
     * @return
     * @throws Exception
     */
    @Select("select * from Member where id=#{id}")
    Member findById(int id) throws Exception;
}
